package com.soft.base.util;

import com.xiaoleilu.hutool.crypto.digest.DigestUtil;
import com.xiaoleilu.hutool.util.StrUtil;

import java.math.BigInteger;
import java.security.MessageDigest;
import java.security.NoSuchAlgorithmException;
/**
 * class
 *
 * @author user
 * @date 2020/06/05
 */
public class Md5Util {
    public static String hexString(String plainText) {
        return DigestUtil.md5Hex(plainText);
    }
}
